give docs a little attention
authorsp3d <sp3d@github>
Fri, 9 Jan 2015 22:02:30 +0000 (22:02 +0000)
committersp3d <sp3d@github>
Fri, 9 Jan 2015 22:02:30 +0000 (22:02 +0000)
document ~/.cargo and CARGO_HOME, specify manpage section for rustc/rustdoc

src/etc/cargo.1

index e0f9a476cf075f3fcfef330363a232e1776bda34..4d41efd9eccd56ac9084992fbaef5604c1a826db 100644 (file)
@@ -62,6 +62,12 @@ Generate a source tarball for the current package
 \fBcargo version\fR
 Print cargo's version and exit
 
+.SH FILES
+
+.TP
+~/.cargo
+Directory in which Cargo stores repository data. Cargo can be instructed to use a .cargo subdirectory in a different location by setting the CARGO_HOME environment variable.
+
 .SH "EXAMPLES"
 Build a local package and all of its dependencies
     $ cargo build
@@ -77,7 +83,7 @@ Learn about a command's options and usage
 
 .SH "SEE ALSO"
 
-rustc, rustdoc
+rustc(1), rustdoc(1)
 
 .SH "BUGS"
 See <\fBhttps://github.com/rust-lang/cargo/issues\fR> for issues.